//
//  WSOrderBigModel.m
//  FD
//
//  Created by xiaofang wang on 2018/11/1.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//  有用信息一个一个单独挑出来

#import "WSOrderBigModel.h"

@implementation WSOrderBigModel
//+ (NSDictionary *)mj_replacedKeyFromPropertyName
//{
//    return @{@"orderId":@"id"};
//}

//内部计算已经优惠xxxx 已优惠 ￥12.3
- (NSString *)alreadyYouHuiStr {
    CGFloat floatValue = [_totalAmount floatValue] - [_actualAmount floatValue];
    return [NSString stringWithFormat:@"%.1f",floatValue];
}

//从写description方法
- (NSString *)description
{
    NSArray *ptyArr = [WSOrderBigModel rb_objPropeties];
    return [[self dictionaryWithValuesForKeys:ptyArr] description];
}
@end
